home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 April / EnigmA AMIGA RUN 17 (1997)(G.R. Edizioni)(IT)[!][issue 1997-04][EAR-CD].iso / EARCD / gfx / conv / mac2ni.lha / mac2ni.man < prev    next >
Text File  |  1995-12-01  |  3KB  |  69 lines

  1. MAC2NI(7)                                                              MAC2NI(7)
  2.  
  3.  
  4. NNAAMMEE
  5.     mac2ni - convert macintosh icons to newicons
  6.  
  7. SSYYNNOOPPSSIISS
  8.     mac2ni FROM/A,TO/A,COPYFROM/A,VERBOSE/S,NORSRCID/S,NOSELECTED/S
  9.  
  10. DDEESSCCRRIIPPTTIIOONN
  11.     MAC2NI  is  a icon converter.  It was developed by Daniel Balster to extract one
  12.     bloody icon, but it was too hard for him to repaint it using an icon editor.  So
  13.     he wrote MAC2NI.
  14.  
  15.     MAC2NI  scans  a  given  resource  fork  of  a macintosh file and saves all icl8
  16.     resources  it can find.  for each icl8 ID there must be a matching ICN# resource
  17.     or the conversion fails.  the ICN# resource type is used to mask the chunky icl8
  18.     image  and make it transparent.  MacOS icons are always remapped to a static 256
  19.     color  palette,  the system palette.  In order to reduce space, a "Count Colors"
  20.     operator  and  a "Remap Colors" operator is applied over all icon images.  Using
  21.     this  techniques  only as much color palette entries need to be saved as used.  
  22.     Furthermore,  MacOS  icons do not have a second image like Amiga icons.  This is
  23.     generated  by applying a ghosted mask over the "normal" image and save it as the
  24.     "selected"  image.    For  the  ghosted mask always the darkest palette entry is
  25.     used,  this  one  is  found  by weighting all left palette entries.  Because one
  26.     single  MacOS  resource fork can contain more than one icon image, the icons are
  27.     saved using their unique IDs.
  28.  
  29.  
  30.  
  31.  
  32.  
  33.                                 6 December 1996                                1
  34.  
  35.  
  36. MAC2NI(7)                                                              MAC2NI(7)
  37.  
  38. IINNVVOOKKIINNGG MMAACC22NNII
  39.     There are some options you have to learn:
  40.  
  41.         FROM/A        the filename of the resource fork of a MacOS file
  42.  
  43.         TO/A          an existing pathname and a basename  where to write the  new-
  44.                       icons. after the basename a  ".id" is appended for each icon.
  45.                       
  46.         COPYFROM/A    an existing amiga icon (no need to be a newicon) from which
  47.                       to take STACKSIZE, TOOLTYPES and so on.
  48.                       
  49.         VERBOSE/S     if you like lots of progress printing informations..
  50.  
  51.         NORSRCID/S    use a floating index (0,1,...) instead of the MacOS icon ID
  52.  
  53.         NOSELECTED/S  do not generate the selected image
  54.  
  55. GGEETTTTIINNGG HHEELLPP
  56.     Sorry, no help available
  57.  
  58. BBUUGGSS
  59.     None known ?
  60.  
  61. AAUUTTHHOORR
  62.        Daniel Balster
  63.  
  64.  
  65.  
  66.  
  67.  
  68.                                 6 December 1996                                2
  69.